.home-header {
  .red-bg {
    padding: 36rpx 30rpx 30rpx;
    padding-top: 50rpx;
    background: #f82256;
  }
  .position-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .position-left {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .down-arrow {
        margin-top: 10rpx;
        margin-left: 8rpx;
      }
    }
    .location-icon {
      width: 30rpx;
      height: 30rpx;
    }
    .change-icon {
      width: 50rpx;
      height: 50rpx;
    }
    .position-text {
      max-width: 390rpx;
      font-size: 34rpx;
      font-family: PingFangSC;
      font-weight: bold;
      color: #ffffff;
      margin-left: 10rpx;
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      word-break: break-all;
    }
    .sub-text {
      height: 22rpx;
      font-size: 22rpx;
      font-family: PingFangSC;
      font-weight: 300;
      color: #ffffff;
      margin-left: 20rpx;
    }
  }
  .search-bar {
    background: #ffffff;
    border-radius: 4rpx;
    padding: 18rpx 20rpx;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    margin-top: 38rpx;
    margin-bottom: 20rpx;
    .search-icon {
      width: 30rpx;
      height: 30rpx;
      margin-right: 12rpx;
    }
    .search-text {
      font-size: 26rpx;
      font-family: PingFang SC;
      font-weight: 400;
      color: #a9a9a9;
    }
  }
  .activity-bar {
    font-size: 26px;
    margin-top: 30rpx;
    font-family: PingFangSC;
    font-weight: 400;
    color: #ffffff;
    line-height: 32rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30rpx;
    .activity-title {
      width: 50rpx;
      flex: 0 0 50rpx;
      Image {
        width: 30rpx;
        height: 30rpx;
        margin-top: 8rpx;
      }
    }
    .activity-swiper {
      width: 490rpx;
      flex: 0 0 490rpx;
      height: 40rpx;
      .swiper-item {
        width: 100%;
        height: 40rpx;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        word-break: break-all;
        text-decoration: underline;
        line-height: 42rpx;
        color: #f82256;
        .down-arrow {
          font-size: 28rpx !important;
        }
      }
    }
    .right-btn {
      padding: 6rpx 20rpx;
      margin-left: 6rpx;
      font-size: 26rpx;
      text-align: center;
      line-height: 26rpx;
      border-radius: 26rpx;
      background: url(../../../../assets/images/home/red-bg.png) no-repeat;
      background-size: cover;
      color: #fff;
    }
  }
}
